import { createApp } from 'vue'

import './style.css'
import App from './App.vue'
import 'normalize.css'//reset 样式
import router from './router/index.ts'; 
import store from './store/index.js' // 引入 Vuex store
import * as ElementPlusIconsVue from '@element-plus/icons-vue'//icon 图标库
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
app.use(router)
app.use(store) // 使用 Vuex store
app.mount('#app')


